package com.swiftops.basic.sys.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 角色菜单关系实体类
 * 根据需要删减无效参数
 *
 * @author yangyang
 * @date 2023/09/17
 **/
@Data
@Table(name = "sys_role_menu")
public class SysRoleMenu {

    @Id//这是个虚拟主键表中不存在
    private String virtualKey;

    /**
     *
     */
    @Column(name = "ROLE_ID")
    private String roleId;

    /**
     *
     */
    @Column(name = "MENU_ID")
    private String menuId;
}
